Optimal. Leaf size=81 \[ -\frac {5 b}{3 a^2 (-a+b x)^{3/2}}+\frac {1}{a x (-a+b x)^{3/2}}+\frac {5 b}{a^3 \sqrt {-a+b x}}+\frac {5 b \tan ^{-1}\left (\frac {\sqrt {-a+b x}}{\sqrt {a}}\right )}{a^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.02, antiderivative size = 81, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 4, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.267, Rules used = {44, 53, 65, 211}
\begin {gather*} \frac {5 b \tan ^{-1}\left (\frac {\sqrt {b x-a}}{\sqrt {a}}\right )}{a^{7/2}}+\frac {5 b}{a^3 \sqrt {b x-a}}-\frac {5 b}{3 a^2 (b x-a)^{3/2}}+\frac {1}{a x (b x-a)^{3/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 44
Rule 53
Rule 65
Rule 211
Rubi steps
\begin {align*} \int \frac {1}{x^2 (-a+b x)^{5/2}} \, dx &=-\frac {2}{3 a x (-a+b x)^{3/2}}-\frac {5 \int \frac {1}{x^2 (-a+b x)^{3/2}} \, dx}{3 a}\\ &=-\frac {2}{3 a x (-a+b x)^{3/2}}+\frac {10}{3 a^2 x \sqrt {-a+b x}}+\frac {5 \int \frac {1}{x^2 \sqrt {-a+b x}} \, dx}{a^2}\\ &=-\frac {2}{3 a x (-a+b x)^{3/2}}+\frac {10}{3 a^2 x \sqrt {-a+b x}}+\frac {5 \sqrt {-a+b x}}{a^3 x}+\frac {(5 b) \int \frac {1}{x \sqrt {-a+b x}} \, dx}{2 a^3}\\ &=-\frac {2}{3 a x (-a+b x)^{3/2}}+\frac {10}{3 a^2 x \sqrt {-a+b x}}+\frac {5 \sqrt {-a+b x}}{a^3 x}+\frac {5 \text {Subst}\left (\int \frac {1}{\frac {a}{b}+\frac {x^2}{b}} \, dx,x,\sqrt {-a+b x}\right )}{a^3}\\ &=-\frac {2}{3 a x (-a+b x)^{3/2}}+\frac {10}{3 a^2 x \sqrt {-a+b x}}+\frac {5 \sqrt {-a+b x}}{a^3 x}+\frac {5 b \tan ^{-1}\left (\frac {\sqrt {-a+b x}}{\sqrt {a}}\right )}{a^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.08, size = 67, normalized size = 0.83 \begin {gather*} \frac {3 a^2-20 a b x+15 b^2 x^2}{3 a^3 x (-a+b x)^{3/2}}+\frac {5 b \tan ^{-1}\left (\frac {\sqrt {-a+b x}}{\sqrt {a}}\right )}{a^{7/2}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Mathics [C] Result contains higher order function than in optimal. Order 9 vs. order 3 in
optimal.
time = 12.20, size = 1219, normalized size = 15.05
result too large to display
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.13, size = 74, normalized size = 0.91
method | result | size |
derivativedivides | \(2 b \left (\frac {\frac {\sqrt {b x -a}}{2 b x}+\frac {5 \arctan \left (\frac {\sqrt {b x -a}}{\sqrt {a}}\right )}{2 \sqrt {a}}}{a^{3}}-\frac {1}{3 a^{2} \left (b x -a \right )^{\frac {3}{2}}}+\frac {2}{a^{3} \sqrt {b x -a}}\right )\) | \(74\) |
default | \(2 b \left (\frac {\frac {\sqrt {b x -a}}{2 b x}+\frac {5 \arctan \left (\frac {\sqrt {b x -a}}{\sqrt {a}}\right )}{2 \sqrt {a}}}{a^{3}}-\frac {1}{3 a^{2} \left (b x -a \right )^{\frac {3}{2}}}+\frac {2}{a^{3} \sqrt {b x -a}}\right )\) | \(74\) |
risch | \(-\frac {-b x +a}{a^{3} x \sqrt {b x -a}}+\frac {5 b \arctan \left (\frac {\sqrt {b x -a}}{\sqrt {a}}\right )}{a^{\frac {7}{2}}}+\frac {4 b}{a^{3} \sqrt {b x -a}}-\frac {2 b}{3 a^{2} \left (b x -a \right )^{\frac {3}{2}}}\) | \(75\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A]
time = 0.36, size = 82, normalized size = 1.01 \begin {gather*} \frac {15 \, {\left (b x - a\right )}^{2} b + 10 \, {\left (b x - a\right )} a b - 2 \, a^{2} b}{3 \, {\left ({\left (b x - a\right )}^{\frac {5}{2}} a^{3} + {\left (b x - a\right )}^{\frac {3}{2}} a^{4}\right )}} + \frac {5 \, b \arctan \left (\frac {\sqrt {b x - a}}{\sqrt {a}}\right )}{a^{\frac {7}{2}}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 0.32, size = 226, normalized size = 2.79 \begin {gather*} \left [-\frac {15 \, {\left (b^{3} x^{3} - 2 \, a b^{2} x^{2} + a^{2} b x\right )} \sqrt {-a} \log \left (\frac {b x - 2 \, \sqrt {b x - a} \sqrt {-a} - 2 \, a}{x}\right ) - 2 \, {\left (15 \, a b^{2} x^{2} - 20 \, a^{2} b x + 3 \, a^{3}\right )} \sqrt {b x - a}}{6 \, {\left (a^{4} b^{2} x^{3} - 2 \, a^{5} b x^{2} + a^{6} x\right )}}, \frac {15 \, {\left (b^{3} x^{3} - 2 \, a b^{2} x^{2} + a^{2} b x\right )} \sqrt {a} \arctan \left (\frac {\sqrt {b x - a}}{\sqrt {a}}\right ) + {\left (15 \, a b^{2} x^{2} - 20 \, a^{2} b x + 3 \, a^{3}\right )} \sqrt {b x - a}}{3 \, {\left (a^{4} b^{2} x^{3} - 2 \, a^{5} b x^{2} + a^{6} x\right )}}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 0.00, size = 101, normalized size = 1.25 \begin {gather*} 2 \left (\frac {\sqrt {-a+b x} b}{2 a^{3} \left (-a+b x+a\right )}+\frac {6 \left (-a+b x\right ) b-b a}{3 a^{3} \sqrt {-a+b x} \left (-a+b x\right )}+\frac {5 b \arctan \left (\frac {\sqrt {-a+b x}}{\sqrt {a}}\right )}{2 a^{3} \sqrt {a}}\right ) \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [B]
time = 0.12, size = 70, normalized size = 0.86 \begin {gather*} \frac {1}{a\,x\,{\left (b\,x-a\right )}^{3/2}}-\frac {20\,b}{3\,a^2\,{\left (b\,x-a\right )}^{3/2}}+\frac {5\,b\,\mathrm {atan}\left (\frac {\sqrt {b\,x-a}}{\sqrt {a}}\right )}{a^{7/2}}+\frac {5\,b^2\,x}{a^3\,{\left (b\,x-a\right )}^{3/2}} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________